package book.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-08
 * TIME:19:17
 */
public class bookList {
    public static final int MAX=10;
    private  book[] books;
    private int usesize;
    public bookList (){
        this.books =new book[MAX];
        this.books[0]=new book("三国演义","落红中","黄河",12);
        this.books[1]=new book("lul演艺","落中","长江",15);
        this.books[2]=new book("wz演艺","红中","三里河",14);
        this.usesize=3;


    }



    public book getBook(int pos) {
        return books[pos];
    }

    public void setBooks(int pos,book book) {
        books[pos]=book;
    }

    public int getUsesize() {
        return usesize;
    }

    public void setUsesize(int usesize) {
        this.usesize = usesize;
    }
    public book[] getBooks(){
        return books;
    }
}
